package com.rd.p2p.mobile.additional.redEnvelope;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;

import com.opensymphony.xwork2.ModelDriven;
import com.qdlc.p2p.biz.web.action.BaseAction;
import com.qdlc.p2p.dal.model.UserRedEnvelopeModel;

/**
 * 微信端-红包
 * 
 * @author wuhuan
 */
public class MobileUserRedEnvelopeAction extends BaseAction<UserRedEnvelopeModel>
		implements ModelDriven<UserRedEnvelopeModel> {
	/**
	 * 我的红包页面
	 * 
	 * @return
	 * @throws Exception
	 */
	@Action(value = "/mobile/usercenter/redpacket/availableRedEnvelope", results = {
			@Result(name = "availableRedEnvelope", type = "ftl", location = "/mobile/member/redpacket/availableRedEnvelope.html") })
	public String availableRedEnvelope() throws Exception {
		return "availableRedEnvelope";
	}

	/**
	 *  酒劵兑换页面
	 *
	 * @return
	 * @throws Exception
	 */
	@Action(value = "/mobile/usercenter/redpacket/winecouExchange", results = {
			@Result(name = "winecouExchange", type = "ftl", location = "/mobile/member/redpacket/winecouExchange.html") })
	public String winecouExchange() throws Exception {
		return "winecouExchange";
	}
	/**
	 *  酒劵回购页面
	 *
	 * @return
	 * @throws Exception
	 */
	@Action(value = "/mobile/usercenter/redpacket/winebuyBack", results = {
			@Result(name = "winebuyBack", type = "ftl", location = "/mobile/member/redpacket/winebuyBack.html") })
	public String winebuyBack() throws Exception {
		return "winebuyBack";
	}
	
}
